<template>
    <div>
        {{myval}}
    </div>
</template>

<script>
    export default {
        name: "test",
        data(){
            return{
                myval:null,
            }
        },
        created() {
            this.http.get("/test").then(res=>{
                this.myval = res.data
            })
        }
    }
</script>

<style scoped>

</style>